package com.fg.cloud.manager.entry.agency;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fg.cloud.common.annotation.Column;
import com.fg.cloud.common.finals.Compare;
import com.fg.cloud.manager.entry.BaseEntity;

/**
 * 经销商实体
 * @author around
 * @date 2017-6-20
 */
public class AgencyEntity extends BaseEntity {
	
	private static final long serialVersionUID = -2435095305305441638L;
	
	/** 厂商ID */
	@Column
    private Long facId;
	
	/** 编码 */
	@Column(compare=Compare.LIKE)
    private String ageNumber;
	
	/** 名称 */
    private String ageName;
	
	/** 状态：1=启用，0=禁用，-1=删除 */
    private Integer status;
    
    /** 订货权限：1=启用 0=禁用 */
    private Integer placeorder;
	
	/** 经销商等级ID */
    private Long levelId;
	
	/** 经销商区域ID */
    private Long areaId;
	
	/** 省 */
    private String province;
	
	/** 市 */
    private String city;
	
	/** 区 */
    private String area;
    
    /** 前端组合传参，省市区 */
	private String administrative;
	
	/** 前端组合传参，区域*/
	private String areaNumberSort;
	
	/** 详细地址 */
    private String address;
    
    /** 地址是否允许编辑：0不允许，1允许 */
    @JsonIgnore
    private Integer addressStatus;
	
	/** 联系人 */
    private String contact;
	
	/** 联系电话 */
    private String tel;
	
	/** 手机 */
    private String phone;
	
	/** 邮政编码 */
    private String zipcode;
	
	/** 银行名称 */
    private String bankName;
	
	/** 银行卡号 */
    private String bankNo;
	
	/** 税号 */
    private String taxNumber;
	
	/** 纳税人类型：1一般纳税人2小规模纳税人 */
    private Integer taxType;
	
	/** 开票地址 */
    private String taxAddress;
    
	/** 发票抬头 */
    private String billTitle;
    

	public Long getFacId() {
        return facId;
    }

    public void setFacId(Long facId) {
        this.facId = facId;
    }

    public String getAgeNumber() {
        return ageNumber;
    }

    public void setAgeNumber(String ageNumber) {
        this.ageNumber = ageNumber == null ? null : ageNumber.trim();
    }

    public String getAgeName() {
        return ageName;
    }

    public void setAgeName(String ageName) {
        this.ageName = ageName == null ? null : ageName.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getLevelId() {
        return levelId;
    }

    public void setLevelId(Long levelId) {
        this.levelId = levelId;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area == null ? null : area.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact == null ? null : contact.trim();
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode == null ? null : zipcode.trim();
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName == null ? null : bankName.trim();
    }

    public String getBankNo() {
        return bankNo;
    }

    public void setBankNo(String bankNo) {
        this.bankNo = bankNo == null ? null : bankNo.trim();
    }

    public String getTaxNumber() {
        return taxNumber;
    }

    public void setTaxNumber(String taxNumber) {
        this.taxNumber = taxNumber == null ? null : taxNumber.trim();
    }

    public Integer getTaxType() {
        return taxType;
    }

    public void setTaxType(Integer taxType) {
        this.taxType = taxType;
    }

    public String getTaxAddress() {
        return taxAddress;
    }

    public void setTaxAddress(String taxAddress) {
        this.taxAddress = taxAddress == null ? null : taxAddress.trim();
    }

	public Integer getAddressStatus() {
		return addressStatus;
	}

	public void setAddressStatus(Integer addressStatus) {
		this.addressStatus = addressStatus;
	}

	public Integer getPlaceorder() {
		return placeorder;
	}

	public void setPlaceorder(Integer placeorder) {
		this.placeorder = placeorder;
	}
	
	public String getAdministrative() {
		return administrative;
	}

	public void setAdministrative(String administrative) {
		this.administrative = administrative;
	}

	public String getBillTitle() {
		return billTitle;
	}

	public void setBillTitle(String billTitle) {
		this.billTitle = billTitle;
	}
	
	public String getAreaNumberSort() {
		return areaNumberSort;
	}

	public void setAreaNumberSort(String areaNumberSort) {
		this.areaNumberSort = areaNumberSort;
	}
	
}